package org.chenmin.gwt.client.js;

import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(isNative=true,name="Materialize", namespace=JsPackage.GLOBAL)
public class Materialize {
    // Materialize.toast(message, displayLength, className, completeCallback);
//  Materialize.toast('I am a toast!', 4000) // 4000 is the duration of the toast
    public static native void toast(String message,int displayLength);
}
